package org.jaaksi.windowanim;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

/**
 * Created by Fcy on 2015/12/16.
 */
public class TestActivity extends Activity {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.test);
	}

	public void show(View view) {
		FloatWindowServiceManager.getInstance(this).showWindow();
	}

	public void close(View view) {
		Log.i("fcy", "----------------- destroyWindow");
		MyWindowManager.removeBigWindow(getApplicationContext());
		FloatWindowServiceManager.getInstance(this).closeWindow();
	}
}